/*
 * @Author: Neko
 * @Date: 2021-04-09 10:21:33
 * @LastEditTime: 2021-06-08 11:53:36
 * @LastEditors: Neko
 */
import request from '@/api/request.js'

// 获取企业信息
export async function getStoreInfo(params) {
	return request('/enterprise/getEnterpriseByStoreId', params)
}

// 店铺公告列表
export async function storeNotice(params) {
	return request('/storeNotice/listByModel', params)
}

// 店铺广告信息
export async function storeAdDetail(params) {
	return request('/mobilePic/detail', params)
}

// 获取店铺商品
export async function storeGoods(params) {
	return request('/tabCategorySettingItem/getById', params)
}

// 收藏店铺
export async function collectionStore(params) {
	return request('/mine/addCollect', params, 'post')
}

// 批量取消收藏店铺
export async function cancelCollectionStore(params) {
	return request('/mine/cancelCollect', params, 'post')
}

// 客服信息
export async function getStoreContactWay(params) {
	return request('/customerService/getStoreContactWay', params)
}

// 获取金刚球分类
export async function getStoreCategoryList(params) {
	return request('/storeIndex/getStoreCategoryList', params)
}

// 店铺全部商品列表
export async function getStoregoodList(params) {
	return request('/goods/list', params, 'POST')
}

// 获取店铺等级
export async function getMenuFilterList(params) {
	return request('/goods/getStoreCategoryList', params)
}

// 获取聚合页标题
export async function getTitleInfo(params) {
	return request('/microPage/getGoodsAggregatePage', params)
}


